package com.syni.mdd.sjb.common.component.mybatis.dxshapp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author lcc
 * @since 2020-09-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class DankApplication implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 应用名称
     */
    private String appName;

    /**
     * 应用icon
     */
    private String icon;

    /**
     * 应用类型（1：营销工具；2：数据管理；3：经营管理；4：社群功能；5：其他功能）
     */
    private Integer appType;

    /**
     * 创建时间
     */
    private LocalDateTime newTime;

    /**
     * 跳转链接
     */
    private String clickUrl;

    public static final String ID = "id";

    public static final String APP_NAME = "app_name";

    public static final String ICON = "icon";

    public static final String APP_TYPE = "app_type";

    public static final String NEW_TIME = "new_time";

    public static final String CLICK_URL = "click_url";

}
